<?php
/* @var $this GiftRemainingNumberController */
/* @var $model GiftRemainingNumber */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'gift-remaining-number-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'partners_id'); ?>
		<?php echo $form->textField($model,'partners_id'); ?>
		<?php echo $form->error($model,'partners_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'gift_id'); ?>
		<?php echo $form->textField($model,'gift_id'); ?>
		<?php echo $form->error($model,'gift_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'remaining_number'); ?>
		<?php echo $form->textField($model,'remaining_number'); ?>
		<?php echo $form->error($model,'remaining_number'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'bak1'); ?>
		<?php echo $form->textField($model,'bak1',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'bak1'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'bak2'); ?>
		<?php echo $form->textField($model,'bak2',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'bak2'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'bak3'); ?>
		<?php echo $form->textField($model,'bak3',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'bak3'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'is_delete'); ?>
		<?php echo $form->textField($model,'is_delete'); ?>
		<?php echo $form->error($model,'is_delete'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'crate_time'); ?>
		<?php echo $form->textField($model,'crate_time'); ?>
		<?php echo $form->error($model,'crate_time'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'crate_user'); ?>
		<?php echo $form->textField($model,'crate_user',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'crate_user'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'update_time'); ?>
		<?php echo $form->textField($model,'update_time'); ?>
		<?php echo $form->error($model,'update_time'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'update_user'); ?>
		<?php echo $form->textField($model,'update_user',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'update_user'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->